/**
 * 
 */
package com.suneee.logistic.service;

import java.util.List;

import com.suneee.context.page.Page;
import com.suneee.logistic.entity.Logistic;
import com.suneee.logistic.entity.LogisticDTO;

/**
 * @author liuxh 物流管理service层
 */
public interface LogisticService {

	/**
	 * 增加物流
	 * 
	 * @param Logisticy
	 * @return
	 */
	public void addLogistic(Logistic logistic);
	
	public void addLogisticList(List<Logistic> logisList);

	/**
	 * 修改物流
	 * 
	 * @param logistic
	 * @return
	 */
	public void updateLogistic(Logistic logistic);

	/**
	 * 删除物流
	 * 
	 * @param logisticId
	 */
	public void deleteLogistic(String companyCode);

	/**
	 * 获取t_Logistic表中的数据
	 */
	public Page<Logistic> listLogistic(LogisticDTO dto);
	
	public List<Logistic> listLogisticEn(LogisticDTO dto);

	/**
	 * 获取单条数据
	 * 
	 * @param logisticId
	 * @return
	 */
	public Logistic getLogistic(String companyCode);

}
